import whois
from pprint import pprint


domains = '''
marktplaats.nl
bla.marktplaats.nl
google.info
blabluble.info
calling.com.tw
konly7393.idv.st
www.katzenuhren.de
katzen.tv
produto.arremate.com.br
sHzAP.abowey.com
abowey.com
google.com.br
google.cz
google.fr
google.at

google.jp
www.google.co.jp

yahoo.com
google.at
www.google.org
google.de
google.info
www.google.com
digg.com
imdb.com
microsoft.com

ddarko.org

google.net
www.asp.net

google.co.uk

google.co
google.de
yandex.ru
google.us
google.eu
google.me
google.be
google.biz
google.info
google.name

google.pl
www.ddarko.pl
test.ez.lv

google.it
'''



#domains = ''


for d in domains.split('\n'):
	if d:
		print('-'*80)
		print(d)
		w = whois.query(d,ignore_returncode=1)
		if w == None:
			pass
		if w:
			wd = w.__dict__
			for k, v in wd.items():
				print('%20s\t[%s]' % (k, v))

